package com.checkoutcheckins.client.data.foursquare;

import java.io.Serializable;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.gson.annotations.Expose;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Venue implements Serializable{
	
	private static final long serialVersionUID = 1082807268411695189L;
	
	@PrimaryKey
	@Persistent
	private String id;
	
	@Persistent
	private String name;
	
	@Persistent
	private String address;
	
	@Persistent
	private String crossstreet;
	
	@Persistent
	private String city;
	
	@Persistent
	private String state;
	
	@Persistent
	private String zip;
	
	@Persistent
	private String phone;
	
	@Persistent
	private String geolat;
	
	@Persistent
	private String geolong;
	
	@NotPersistent
	private Category primarycategory;
	
	@Expose (deserialize = false) private String categoryId;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCrossstreet() {
		return crossstreet;
	}
	public void setCrossstreet(String crossstreet) {
		this.crossstreet = crossstreet;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getGeolat() {
		return geolat;
	}
	public void setGeolat(String geolat) {
		this.geolat = geolat;
	}
	public String getGeolong() {
		return geolong;
	}
	public void setGeolong(String geolong) {
		this.geolong = geolong;
	}
	public void setPrimarycategory(Category primarycategory) {
		this.primarycategory = primarycategory;
	}
	public Category getPrimarycategory() {
		return primarycategory;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

}
